package com.hnyyjsxy.domain;

/**
 * 学生实体类
 * @date 2021/01/30
 */
public class Student {
    private String sid;//学号
    private String sname;//姓名
    private String gender;//性别
    private String squad;//班级
    private String email;//邮箱
    private String phone;//手机号
    private String building;//楼栋号
    private String room;//房间号
    private String bed;//床号
    private Double charge;

    public Student() {
    }

    public Student(String sid, String sname, String gender, String squad, String email, String phone, String building, String room, String bed) {
        this.sid = sid;
        this.sname = sname;
        this.gender = gender;
        this.squad = squad;
        this.email = email;
        this.phone = phone;
        this.building = building;
        this.room = room;
        this.bed = bed;
    }

    public Double getCharge() {
        return charge;
    }

    public void setCharge(Double charge) {
        this.charge = charge;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getSquad() {
        return squad;
    }

    public void setSquad(String squad) {
        this.squad = squad;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBuilding() {
        return building;
    }

    public void setBuilding(String building) {
        this.building = building;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public String getBed() {
        return bed;
    }

    public void setBed(String bed) {
        this.bed = bed;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid='" + sid + '\'' +
                ", sname='" + sname + '\'' +
                ", gender='" + gender + '\'' +
                ", squad='" + squad + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", building='" + building + '\'' +
                ", room='" + room + '\'' +
                ", bed='" + bed + '\'' +
                '}';
    }
}
